package com.frame.work.common.constant;

public class RedisKey {
    /**
     * 单群组多设备添加命令
     */
    public static String groupAddMultipleDevices(String gatewayMac, String randomCode) {
        return "com.zyzn.group.add.multiple.devices" + "." + gatewayMac + "." + randomCode;
    }

    /**
     * 单群组多设备删除命令
     */
    public static String groupDeleteMultipleDevices(String gatewayMac, String randomCode) {
        return "com.zyzn.group.delete.multiple.devices" + "." + gatewayMac + "." + randomCode;
    }

    /**
     * 单设备添加多群组
     */
    public static String deviceAddMultipleGroup(String gatewayMac, String randomCode) {
        return "com.zyzn.device.add.multiple.group" + "." + gatewayMac + "." + randomCode;
    }

    /**
     * 删除设备中的某个群组
     */
    public static String deleteOneDeviceOnGroup(String gatewayMac, String randomCode) {
        return "com.zyzn.device.delete.one.group.on.device" + "." + gatewayMac + "." + randomCode;
    }

    /**
     * 指纹密钥是否成功获取
     *
     * @param deviceMac
     * @return
     */
    public static String fingerprintLockPsd(String deviceMac) {
        return "com.zyzn.fingerprint.lock.psd" + "." + deviceMac;
    }

}
